﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UC_NewsHot.ascx.cs" Inherits="Stationery.UC.UC_NewsHot" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v9.2, Version=9.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dxe" %>
<table cellspacing="0" cellpadding="0" width="100%" border="0">	
	<tr>
		<td align="center"><asp:datalist id="DataList" CellSpacing="0" CellPadding="0" 
                RepeatDirection="Horizontal" RepeatColumns="4" 
				Runat="server" Width="100%" onitemdatabound="DataList_ItemDataBound">
				<ItemStyle Width="130px" />
				<ItemTemplate>
					<table cellpadding="1" cellspacing="1" width="100%" border="0">							
						<tr valign="top">
						    <td style="width:110px" valign="top">
						        <a href='<%# GetLinkDetail(Eval("Group_id").ToString(),Eval("News_id").ToString()) %>' >
                                    <dxe:ASPxBinaryImage ID="ASPxBinaryImageData" runat="server" Height="90px" Width="110px" ImageAlign="Top">
                                    </dxe:ASPxBinaryImage>
                                </a>
						    </td>								
						</tr>
						<tr>
							<td style="width:120px" valign="top">
								<asp:HyperLink ID="HyperLinkTitle1" Width="120px" Runat="server" CssClass="NewestNews"></asp:HyperLink>
							</td>
						</tr>							
						<tr height="3">
							<td></td>
						</tr>														
					</table>
				</ItemTemplate>
			</asp:datalist></td>
	</tr>	
</table>
